package com.pcbly.web.bean.crm;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import com.pcbly.web.bean.AbstractBaseBean;

public class SerialNumMngBean extends AbstractBaseBean {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -8347768232230296349L;
	private String serialNum;   //序列号
	private String productId;   //产品编号
	private String productName; //产品名称
	private String productXh;   //产品规格
	private String state;        //序列号状态，（在库、已售、已退货)
	private String storeId;     //库房编号
	private String storeName;   //库房名称(数据库中不保存，通过storeid在获取信息赋值)
	private String yjFlag;      //样机标记（0,否；1，是）
	
	
	public String getSerialNum() {
		return serialNum;
	}

	public void setSerialNum(String serialNum) {
		this.serialNum = serialNum;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getProductXh() {
		return productXh;
	}

	public void setProductXh(String productXh) {
		this.productXh = productXh;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getStoreId() {
		return storeId;
	}

	public void setStoreId(String storeId) {
		this.storeId = storeId;
	}

	public String getStoreName() {
		return storeName;
	}

	public void setStoreName(String storeName) {
		this.storeName = storeName;
	}

	public String getYjFlag() {
		return yjFlag;
	}

	public void setYjFlag(String yjFlag) {
		this.yjFlag = yjFlag;
	}

	/**
	 * @see java.lang.Object#equals(Object)
	 */
	public boolean equals(Object object) {
		return EqualsBuilder.reflectionEquals(this, object);
	}

	/**
	 * @see java.lang.Object#hashCode()
	 */
	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}

	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}
